<?php
namespace app\api\controller;

use app\api\controller\Base;
use think\Request;

class Login extends Base
{
    /**
    * @OA\Post(path="/login/system",
    *   tags={"用户登录"},
    *   summary="系统帐号登录",
    *   @OA\Parameter(name="deviceid", in="header",description="设备唯一值",required=true,@OA\Schema(type="string")),
    *   @OA\RequestBody(
    *   @OA\MediaType(
    *     mediaType="content-type/json",
    *       @OA\Schema(
    *           @OA\Property(description="帐 号", property="identifier", type="string"),
    *           @OA\Property(description="密 码", property="credential", type="string"),
    *           required={"identifier","credential"})
    *     )
    *   ),
    *   @OA\Response(
    *       response="100",
    *       description="返回结果请以真实API拿数到数据为准",
    *   )
    * )
    */
    public function system(Request $request)
    {
        return json(['code'=>0,'msg'=>'这里是返回提示','data'=>[]]);
    }

}
